ImageFilter

ImageFilter is a simple filter service.  It converts IFF (Interchange File Format) images to TIFF, allowing NeXTSTEP applications to load and display IFF images. ImageFilter.m shows how one might create a filter service; iffToTiff.m contains mostly uninteresting code that does the actual image conversion.

Note that this program is not meant to be a complete IFF to TIFF converter; it lacks many features, ignores many IFF chunks, doesn't recognize all IFF types (such as 24-bit true color images), has a few bugs, and to top it all off, is slow. It's simply provided as an example of a filter service, and as a tool with which developers can check to see if their applications use NXImage in a way that allows them to load images reachable through filter services. If you install this service in your ~/Library/Services directory (make install will do this), you should be able to drag and open .iff image files in any 3.0 application which imports images. A sample file (SampleImage.iff) is provided for testing purposes.